package com.hospital.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("doctor")
public class Doctor {
    @TableId(type = IdType.AUTO,value = "id")
    private Integer id;
    private String name;
    private String password;
    private String power;
}
